package com.example.bookdemo.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResultEnum {
    SUCCESS(200),
    NO_LOGIN(-1),
    NOT_FIND(404),
    WRONG_PARAM(-4),
    NULL_PARAM(-5),
    ELSE(-2),
    ;
    private final int code;
}
